#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
import subprocess

# class Ftp(object):
#     def __init__(self, command):
#         self.command = command
#
#     def list(self):
#         return "列出咯"
#
#
# ftp = Ftp("123")
# # print(isinstance(Ftp, list))
# # print(isinstance(ftp, list))
# print(hasattr(Ftp, "list"))
# x = getattr(ftp, "list")
# print(x())


# res = subprocess.Popen("dir", shell=True,
#                        stdout=subprocess.PIPE,
#                        stdin=subprocess.PIPE)
# print(res.stdout.read())

x="upload local_file_name"
print(x.split(" "))